import 'dart:convert';

import '../generated/json/base/json_field.dart';
import '../generated/json/setting_entity.g.dart';


@JsonSerializable()
class SettingEntity {

	@JSONField(name: "api_addr")
	String? apiAddr;
	String? sip2ApiAddr;
  String? username;
  String? psw;
  bool? rememberPaw;
  int? power;
  int? keycode;
  int? distance;
  @JSONField(name: "device_no")
  String? deviceNo;
  String? deviceName;
  String? analysisBook;

  SettingEntity();

  factory SettingEntity.fromJson(Map<String, dynamic> json) => $SettingEntityFromJson(json);

  Map<String, dynamic> toJson() => $SettingEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}

